package com.bigegg.employee.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 招聘会对象 job_activity
 * 
 * @author sun
 * @date 2022-08-15
 */
public class Activity extends BaseEntity
{
    private static final long serialVersionUID = 1L;


    /** $column.columnComment */
    private Long id;

    /** 活动名称 */
    @Excel(name = "活动名称")
    private String activityName;

    /** 活动类型 */
    @Excel(name = "活动类型")
    private String activityType;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date holdStartTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date holdEndTime;

    /** 主办 */
    @Excel(name = "主办")
    private String host;

    /** 承办 */
    @Excel(name = "承办")
    private String hostBy;

    /** 城市 */
    @Excel(name = "城市")
    private String city;

    /** 举办地址 */
    @Excel(name = "举办地址")
    private String address;

    /** 学生预约人数限制 */
    @Excel(name = "学生预约人数限制")
    private Long orderLimit;

    /** 详情 */
    @Excel(name = "详情")
    private String detail;

    /** 预定开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预定开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date orderStartTime;

    /** 预定结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预定结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date orderEndTime;

    /** 展位数 */
    @Excel(name = "展位数")
    private Long seatNumber;

    /** 设定多少家企业能够申请 */
    @Excel(name = "设定多少家企业能够申请")
    private Long companyLimit;

    /** 开放预定 */
    @Excel(name = "开放预定")
    private Long openOrder;

    /** 状态 */
    @Excel(name = "状态")
    private int status;

    // 纬度
    private String latitude;

    // 经度
    private String longitude;

    // 签到范围
    private Integer signRange;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setActivityName(String activityName) 
    {
        this.activityName = activityName;
    }

    public String getActivityName() 
    {
        return activityName;
    }
    public void setActivityType(String activityType) 
    {
        this.activityType = activityType;
    }

    public String getActivityType() 
    {
        return activityType;
    }
    public void setHoldStartTime(Date holdStartTime) 
    {
        this.holdStartTime = holdStartTime;
    }

    public Date getHoldStartTime() 
    {
        return holdStartTime;
    }
    public void setHoldEndTime(Date holdEndTime) 
    {
        this.holdEndTime = holdEndTime;
    }

    public Date getHoldEndTime() 
    {
        return holdEndTime;
    }
    public void setHost(String host) 
    {
        this.host = host;
    }

    public String getHost() 
    {
        return host;
    }
    public void setHostBy(String hostBy) 
    {
        this.hostBy = hostBy;
    }

    public String getHostBy() 
    {
        return hostBy;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setOrderLimit(Long orderLimit) 
    {
        this.orderLimit = orderLimit;
    }

    public Long getOrderLimit() 
    {
        return orderLimit;
    }
    public void setDetail(String detail) 
    {
        this.detail = detail;
    }

    public String getDetail() 
    {
        return detail;
    }
    public void setOrderStartTime(Date orderStartTime) 
    {
        this.orderStartTime = orderStartTime;
    }

    public Date getOrderStartTime() 
    {
        return orderStartTime;
    }
    public void setOrderEndTime(Date orderEndTime) 
    {
        this.orderEndTime = orderEndTime;
    }

    public Date getOrderEndTime() 
    {
        return orderEndTime;
    }
    public void setSeatNumber(Long seatNumber) 
    {
        this.seatNumber = seatNumber;
    }

    public Long getSeatNumber() 
    {
        return seatNumber;
    }
    public void setCompanyLimit(Long companyLimit) 
    {
        this.companyLimit = companyLimit;
    }

    public Long getCompanyLimit() 
    {
        return companyLimit;
    }
    public void setOpenOrder(Long openOrder) 
    {
        this.openOrder = openOrder;
    }

    public Long getOpenOrder() 
    {
        return openOrder;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }


    public void setStatus(int status) {
        this.status = status;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public Integer getSignRange() {
        return signRange;
    }

    public void setSignRange(Integer signRange) {
        this.signRange = signRange;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("activityName", getActivityName())
            .append("activityType", getActivityType())
            .append("holdStartTime", getHoldStartTime())
            .append("holdEndTime", getHoldEndTime())
            .append("host", getHost())
            .append("hostBy", getHostBy())
            .append("city", getCity())
            .append("address", getAddress())
            .append("orderLimit", getOrderLimit())
            .append("detail", getDetail())
            .append("orderStartTime", getOrderStartTime())
            .append("orderEndTime", getOrderEndTime())
            .append("seatNumber", getSeatNumber())
            .append("companyLimit", getCompanyLimit())
            .append("openOrder", getOpenOrder())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
